What's the point of LEA EAX, [EAX]?

Posted by Frederick on Stack Overflow See other posts from Stack Overflow or by Frederick
Published on 2010-04-24T05:55:17Z Indexed on 2010/04/24 6:03 UTC
Read the original article Hit count: 387

Filed under:
|
|
LEA EAX, [EAX]

I encountered this instruction in a binary compiled with the Microsoft C compiler. It clearly can't change the value of EAX. Then why is it there at all?

© Stack Overflow or respective owner

Related posts about x86

Related posts about assembly